﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataSync.DAL;
using DataSync.BLL;
using IBM.Data.DB2;

namespace DataSync.Model
{
    public class AccountOpLogs : SyncBase
    {
        readonly string tDBString = System.Configuration.ConfigurationManager.AppSettings["dbName_ACCOUNT_OP_LOGS"];

        public AccountOpLogs()
        {
            base.Scheme = "dbo";
            base.SourceTableName = "ACCOUNT_OP_LOGS";
            base.SourceDateFieldName = "TRANSACTION_TIME";
            base.TargetTableName = tDBString + "." + Scheme + ".A_ACCOUNT_DETAIL";
            base.TargetDateFieldName = "TRANS_TIME";
            base.FilterString = " TRANSACTION_TYPE<>4 ";
            base.SyncType = 1;
        }
    }
}
